package com.bbzn.user.client.service;

import com.bbzn.user.client.dataobject.OptHis;
import org.springframework.data.domain.Page;

import java.util.List;

public interface OptHisMongoService {

    OptHis findOne(Long id);

    OptHis save(OptHis optHis);

    List<OptHis> queryAll();

    Page<OptHis> findAllByCreateTimeBetweenOrderByCreateTime(
            String startTime, String endTime,String imei,String createBy,Long userId,int currentPage, int pageSize);

}
